package com.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * WlSmallpackage entity. @author MyEclipse Persistence Tools
 */

public class WlSmallpackage implements java.io.Serializable {

	// Fields

	private Integer spid;
	private WlEmp wlEmp;
	private Timestamp sptime;
	private String spstate;
	private Integer spend;
	private Integer spstart;
	private String sptyle;
	private Set wlSmallpackageLiuchengs = new HashSet(0);
	private Set wlDingredientsVsSmallpackages = new HashSet(0);

	// Constructors

	/** default constructor */
	public WlSmallpackage() {
	}

	/** full constructor */
	public WlSmallpackage(WlEmp wlEmp, Timestamp sptime, String spstate,
			Integer spend, Integer spstart, String sptyle,
			Set wlSmallpackageLiuchengs, Set wlDingredientsVsSmallpackages) {
		this.wlEmp = wlEmp;
		this.sptime = sptime;
		this.spstate = spstate;
		this.spend = spend;
		this.spstart = spstart;
		this.sptyle = sptyle;
		this.wlSmallpackageLiuchengs = wlSmallpackageLiuchengs;
		this.wlDingredientsVsSmallpackages = wlDingredientsVsSmallpackages;
	}

	// Property accessors

	public Integer getSpid() {
		return this.spid;
	}

	public void setSpid(Integer spid) {
		this.spid = spid;
	}

	public WlEmp getWlEmp() {
		return this.wlEmp;
	}

	public void setWlEmp(WlEmp wlEmp) {
		this.wlEmp = wlEmp;
	}

	public Timestamp getSptime() {
		return this.sptime;
	}

	public void setSptime(Timestamp sptime) {
		this.sptime = sptime;
	}

	public String getSpstate() {
		return this.spstate;
	}

	public void setSpstate(String spstate) {
		this.spstate = spstate;
	}

	public Integer getSpend() {
		return this.spend;
	}

	public void setSpend(Integer spend) {
		this.spend = spend;
	}

	public Integer getSpstart() {
		return this.spstart;
	}

	public void setSpstart(Integer spstart) {
		this.spstart = spstart;
	}

	public String getSptyle() {
		return this.sptyle;
	}

	public void setSptyle(String sptyle) {
		this.sptyle = sptyle;
	}

	public Set getWlSmallpackageLiuchengs() {
		return this.wlSmallpackageLiuchengs;
	}

	public void setWlSmallpackageLiuchengs(Set wlSmallpackageLiuchengs) {
		this.wlSmallpackageLiuchengs = wlSmallpackageLiuchengs;
	}

	public Set getWlDingredientsVsSmallpackages() {
		return this.wlDingredientsVsSmallpackages;
	}

	public void setWlDingredientsVsSmallpackages(
			Set wlDingredientsVsSmallpackages) {
		this.wlDingredientsVsSmallpackages = wlDingredientsVsSmallpackages;
	}

}